package com.smart.modeldesign;

/**
 * @PackageName: com.smart.modeldesign
 * @ClassName: FactoryAdministrator
 * @Description:  工厂管理员
 * @author: hgx61
 * @date: 2024/9/20 17:23
 */

public class FactoryAdministrator {

  private ProcessedProducts processedProducts;

  public FactoryAdministrator(){
    processedProducts=new ProcessedProducts();
  }

  /**
   * @Description:  接受订单
   * @param: prouctOrder
   * @return: void
   * @author: hgx61
   * @date: 2024/9/20 17:23
   */
  public void acceptOrder(ProuctOrder prouctOrder){
    System.out.println("接受订单   ---------------------------------------");
      processedProducts.process(prouctOrder,1);
  }

}
